package com.njym.java.security.app.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 
 * 
 * @author lijie
 * @email 717057076@qq.com
 * @date 2019-11-07 14:35:47
 */
@Table(name = "circle_post")
public class CirclePost implements Serializable {
	private static final long serialVersionUID = 1L;
	
	    //
    @Id
    private Integer id;
	
	    //板块id
    @Column(name = "fid")
    private Integer fid;
	
	    //用户名
    @Column(name = "author")
    private String author;
	
	    //用户id
    @Column(name = "user_id")
    private Integer userId;
	
	    //标题
    @Column(name = "subject")
    private String subject;
	
	    //发帖时间
    @Column(name = "dateline")
    private Date dateline;
	
	    //
    @Column(name = "message")
    private String message;
	
	    //审核状态 0未审核 1 已通过 2未通过
    @Column(name = "invisible")
    private Integer invisible;
	
	    //是否匿名发帖
    @Column(name = "anonymous")
    private Integer anonymous;
	
	    //阅读次数
    @Column(name = "reader")
    private Integer reader;
	
	    //评论次数
    @Column(name = "comments")
    private Integer comments;
	
	    //点赞次数
    @Column(name = "likes")
    private Integer likes;
	
	    //是否精华帖 0否 1是
    @Column(name = "statuses")
    private Integer statuses;
	
	    //
    @Column(name = "publish_state")
    private Integer publishState;
	
	    //是否置顶 0否 1是
    @Column(name = "stick")
    private Integer stick;
	
	    //删除标志
    @Column(name = "deleted")
    private Integer deleted;
	
	    //
    @Column(name = "attr1")
    private String attr1;
	
	    //
    @Column(name = "attr2")
    private String attr2;
	
	    //
    @Column(name = "attr3")
    private String attr3;
	
	    //
    @Column(name = "attr4")
    private String attr4;
	

	/**
	 * 设置：
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：板块id
	 */
	public void setFid(Integer fid) {
		this.fid = fid;
	}
	/**
	 * 获取：板块id
	 */
	public Integer getFid() {
		return fid;
	}
	/**
	 * 设置：用户名
	 */
	public void setAuthor(String author) {
		this.author = author;
	}
	/**
	 * 获取：用户名
	 */
	public String getAuthor() {
		return author;
	}
	/**
	 * 设置：用户id
	 */
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	/**
	 * 获取：用户id
	 */
	public Integer getUserId() {
		return userId;
	}
	/**
	 * 设置：标题
	 */
	public void setSubject(String subject) {
		this.subject = subject;
	}
	/**
	 * 获取：标题
	 */
	public String getSubject() {
		return subject;
	}
	/**
	 * 设置：发帖时间
	 */
	public void setDateline(Date dateline) {
		this.dateline = dateline;
	}
	/**
	 * 获取：发帖时间
	 */
	public Date getDateline() {
		return dateline;
	}
	/**
	 * 设置：
	 */
	public void setMessage(String message) {
		this.message = message;
	}
	/**
	 * 获取：
	 */
	public String getMessage() {
		return message;
	}
	/**
	 * 设置：审核状态 0未审核 1 已通过 2未通过
	 */
	public void setInvisible(Integer invisible) {
		this.invisible = invisible;
	}
	/**
	 * 获取：审核状态 0未审核 1 已通过 2未通过
	 */
	public Integer getInvisible() {
		return invisible;
	}
	/**
	 * 设置：是否匿名发帖
	 */
	public void setAnonymous(Integer anonymous) {
		this.anonymous = anonymous;
	}
	/**
	 * 获取：是否匿名发帖
	 */
	public Integer getAnonymous() {
		return anonymous;
	}
	/**
	 * 设置：阅读次数
	 */
	public void setReader(Integer reader) {
		this.reader = reader;
	}
	/**
	 * 获取：阅读次数
	 */
	public Integer getReader() {return reader; }
	/**
	 * 设置：评论次数
	 */
	public void setComments(Integer comments) {
		this.comments = comments;
	}
	/**
	 * 获取：评论次数
	 */
	public Integer getComments() {
		return comments;
	}
	/**
	 * 设置：点赞次数
	 */
	public void setLikes(Integer likes) {
		this.likes = likes;
	}
	/**
	 * 获取：点赞次数
	 */
	public Integer getLikes() {
		return likes;
	}
	/**
	 * 设置：是否精华帖 0否 1是
	 */
	public void setStatuses(Integer statuses) {
		this.statuses = statuses;
	}
	/**
	 * 获取：是否精华帖 0否 1是
	 */
	public Integer getStatuses() {
		return statuses;
	}
	/**
	 * 设置：
	 */
	public void setPublishState(Integer publishState) {
		this.publishState = publishState;
	}
	/**
	 * 获取：
	 */
	public Integer getPublishState() {
		return publishState;
	}
	/**
	 * 设置：是否置顶 0否 1是
	 */
	public void setStick(Integer stick) {
		this.stick = stick;
	}
	/**
	 * 获取：是否置顶 0否 1是
	 */
	public Integer getStick() {
		return stick;
	}
	/**
	 * 设置：删除标志
	 */
	public void setDeleted(Integer deleted) {
		this.deleted = deleted;
	}
	/**
	 * 获取：删除标志
	 */
	public Integer getDeleted() {
		return deleted;
	}
	/**
	 * 设置：
	 */
	public void setAttr1(String attr1) {
		this.attr1 = attr1;
	}
	/**
	 * 获取：
	 */
	public String getAttr1() {
		return attr1;
	}
	/**
	 * 设置：
	 */
	public void setAttr2(String attr2) {
		this.attr2 = attr2;
	}
	/**
	 * 获取：
	 */
	public String getAttr2() {
		return attr2;
	}
	/**
	 * 设置：
	 */
	public void setAttr3(String attr3) {
		this.attr3 = attr3;
	}
	/**
	 * 获取：
	 */
	public String getAttr3() {
		return attr3;
	}
	/**
	 * 设置：
	 */
	public void setAttr4(String attr4) {
		this.attr4 = attr4;
	}
	/**
	 * 获取：
	 */
	public String getAttr4() {
		return attr4;
	}
}
